package cs561.hao;

import java.util.ArrayList;
import java.util.Collection;

public class Test {
	public static void main(String[] args)
	{	
		//int[] a = new int[3];
		/*
		ArrayList<int[]> path = new ArrayList<int[]>();
		
		int[] point2 = {2,2};
		path.add(point2);
		int[] point0 = {0,0};
		path.add(point0);
		int[] point1 = {1,1};
		path.add(point1);
				
		for(int i = 0; i < path.size(); i++)
		{
			int[] points = path.get(i);
			System.out.println("path = " + points[0] + ", " + points[1]);
		}	
		
		ArrayList<Integer> dis = new ArrayList<Integer>();
		dis.add(4);
		dis.add(5);
		dis.add(7);
		dis.add(8);
		dis.add(2);
		dis.add(3);
		
		int min = -1;
		System.out.println(dis.get(0));
		min = dis.get(0);
		for(int i = 1; i < dis.size(); i++)
		{
			System.out.println(dis.get(i));
			if( min > dis.get(i)) min = dis.get(i);			
		}
		
		System.out.println(min);
		
		
		int[] point22 = {22, 22};
		
		path.set(1, point22);
		
		for(int i = 0; i < path.size(); i++)
		{
			int[] points = path.get(i);
			System.out.println("\nnew path = " + points[0] + ", " + points[1]);
		}	
		
		double u = 30;
		double v = 7;
		double w = u/v;
		System.out.println(w);
		*/
		/*
		int[] oldPoint = {22,1};
		int[] newPoint = null;
		//int[] newPoint = new int[2];
		//newPoint[0] = oldPoint[0];
		//newPoint[1] = oldPoint[1];
		//oldPoint[0] = 3;
		
		newPoint = oldPoint.clone();
		newPoint[0] = 10;
		System.out.println("newPoint " + newPoint[0] + " " + newPoint[1]);
		System.out.println("oldPoint " + oldPoint[0] + " " + oldPoint[1]);
		*/
		/*
		int[] startCell = {-1, -1, 121, 0, 0}; //2
		int[] size2Array1 = {10,11};
		startCell[0] = size2Array1[0];
		for(int i = 0; i < 5; i++)
		{
			System.out.print(startCell[i] + " ");
		}
		
		int[][] a = new int[3][2];
		System.out.print(a.length + " " +a[0].length);//a.length rows
		System.out.println("a[2][1]" + a[2][1]);
		
		ArrayList<Double> tempDistanceList = new ArrayList<Double>();
		double distance;
		distance = 1.0;
		tempDistanceList.add(distance);
		distance = 2.0;
		tempDistanceList.add(distance);
		System.out.println(tempDistanceList.get(0));
		System.out.println(tempDistanceList.get(1));
		
		int j = 1;
		for(int i = 0; ((i < 3) && (j < 50));i++)
		{
			System.out.println("i = " + i);
			j = i * 10;
		}
		
		int a = 3;
		int b = 2;
		if(b < 4)
		{
			a = b + 10;
			System.out.println(a);
		}
		System.out.println(a);
		*/
		
		boolean a = true;
		if (a == true)
		{
			System.out.println(" a == true");
		}
	} 
}
